// pages/report/list/list.js
Page({

  data: {
    rpList: [
      {
        "id": 16,
        "apply_key": "xhwx_bazi_001",
        "pro_name": "一生运势报告",
        "pro_desc": "预知不同年龄段的情感、财富和事业情况",
        "pro_img": "http://c.aicebar.com/yunshi.png",
        "pro_big_img": "http://c.aicebar.com/fx_yunshi.png",
        "pro_tag": "",
        "sale_nums": 23001,
        "score_nums": 190,
        "price": 39,
        "original_price": 0,
        "virt_price": 0,
        "virt_original_price": 1,
        "pro_type": 30,
        "oby": 0,
        "pro_type_sim": 1,
        "relation_id": 0,
        "status": 0,
        "create_time": 0,
        "is_buy": 5,
        "order_no": ""
      },
      {
        "id": 17,
        "apply_key": "xhwx_bazi_001",
        "pro_name": "一生财富报告",
        "pro_desc": "分析你的财富情况，发掘理财能力",
        "pro_img": "http://c.aicebar.com/caifu.png",
        "pro_big_img": "http://c.aicebar.com/fx_caifu.png",
        "pro_tag": "",
        "sale_nums": 18032,
        "score_nums": 190,
        "price": 39,
        "original_price": 0,
        "virt_price": 0,
        "virt_original_price": 1,
        "pro_type": 30,
        "oby": 0,
        "pro_type_sim": 2,
        "relation_id": 0,
        "status": 0,
        "create_time": 0,
        "is_buy": 5,
        "order_no": ""
      },
      {
        "id": 18,
        "apply_key": "xhwx_bazi_001",
        "pro_name": "一生感情报告",
        "pro_desc": "分析你的情感需求，未来的情感发展",
        "pro_img": "http://c.aicebar.com/ganqing.png",
        "pro_big_img": "http://c.aicebar.com/fx_ganqing.png",
        "pro_tag": "",
        "sale_nums": 25641,
        "score_nums": 190,
        "price": 39,
        "original_price": 0,
        "virt_price": 0,
        "virt_original_price": 1,
        "pro_type": 30,
        "oby": 0,
        "pro_type_sim": 4,
        "relation_id": 0,
        "status": 0,
        "create_time": 0,
        "is_buy": 5,
        "order_no": ""
      },
      {
        "id": 19,
        "apply_key": "xhwx_bazi_001",
        "pro_name": "一生事业报告",
        "pro_desc": "分析你的事业格局，助力你的事业发展",
        "pro_img": "http://c.aicebar.com/shiye.png",
        "pro_big_img": "http://c.aicebar.com/fx_shiye.png",
        "pro_tag": "",
        "sale_nums": 16453,
        "score_nums": 190,
        "price": 39,
        "original_price": 0,
        "virt_price": 0,
        "virt_original_price": 1,
        "pro_type": 30,
        "oby": 0,
        "pro_type_sim": 3,
        "relation_id": 0,
        "status": 0,
        "create_time": 0,
        "is_buy": 5,
        "order_no": ""
      },
      {
        "id": 20,
        "apply_key": "xhwx_bazi_001",
        "pro_name": "年运报告",
        "pro_desc": "分析你的年运格局，助力你的事业发展",
        "pro_img": "http://c.aicebar.com/nianyun.png",
        "pro_big_img": "http://c.aicebar.com/fx_shiye.png",
        "pro_tag": "",
        "sale_nums": 16453,
        "score_nums": 190,
        "price": 39,
        "original_price": 0,
        "virt_price": 0,
        "virt_original_price": 1,
        "pro_type": 30,
        "oby": 0,
        "pro_type_sim": 5,
        "relation_id": 0,
        "status": 0,
        "create_time": 0,
        "is_buy": 5,
        "order_no": ""
      }
    ],
    url: 'https://shop.aicebar.com/public',
    h5: ''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  router(e) {
    const { type } = e.currentTarget.dataset

    wx.navigateTo({
      url: '/pages/report/web/index?type=' + type,
    })
  }
})